package data_types;

import java.lang.reflect.Constructor;
import java.util.ArrayList;


public class ComplexField implements ParameterField{
	
	private ArrayList<ParameterField> list;
	private Constructor<?> constructor;
	
	public ComplexField(ArrayList<ParameterField> list, Constructor<?> constructor) {
		this.list = list;
		this.constructor = constructor;
	}

	public ArrayList<ParameterField> getList() {
		return list;
	}

	public Constructor<?> getConstructor() {
		return constructor;
	}

	@Override
	public String toString() {
		return "ComplexField";
	}
}
